<div class="bjui-pageHeader">
	<form id="pagerForm" data-toggle="ajaxsearch" action="${ctx}/member" method="post">
        <input type="hidden" name="pageSize" value="${page.pageSize!30}">
        <input type="hidden" name="pageCurrent" value="${page.pageCurrent!1}">
        <input type="hidden" name="orderField" value="${page.orderField!"ctime"}">
        <input type="hidden" name="orderDirection" value="${page.orderDirection!"desc"}">
        
        <div class="bjui-searchBar">
            <label>起始时间：</label><input type="text" data-toggle="datepicker" data-rule="date" value="${stime!}" name="stime" size="13" />&nbsp;
            <label>结束时间：</label><input type="text" data-toggle="datepicker" data-rule="date" value="${etime!}" name="etime" size="13" />&nbsp;
            <label>姓名：</label><input type="text" value="${nickname!}" name="nickname" size="8" />&nbsp;
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true)" data-icon="undo">清空查询</a>&nbsp;
        </div>
        
    </form>
</div>
<div class="bjui-pageContent tableContent">
        <table id="tablelog" class="table table-bordered table-hover table-striped table-top">
            <thead>
                <tr>
                    <th title="序号">序号</th>
                    <th title="用户">用户</th>
                    <th data-order-field="nickname">昵称</th>
                    <th data-order-field="sex">性别</th>
                    <th data-order-field="province">省</th>
                    <th data-order-field="city">市</th>
                    <th data-order-field="questions">提问数量</th>
                    <th data-order-field="reply">回复数量</th>
                    <th data-order-field="ispayment">缴费</th>
                    <th data-order-field="ctime">关注时间</th>
                </tr>
            </thead>
            <tbody>
            <%
               if (page.pageData != null){
               var i = 0;
                  for (mem in page.pageData){
                  i=i+1;
            %>
	                		<tr  data-id="${mem.id!}">
	                		    <td >${i!}</td>
				                <td data-val="pic-id-4">
				                <%
				                  if (mem.headimgurl == null){
				                %>
				                <img src="${ctx}/static/web/img/wechat.png"/>
				                <%
				                  }else{
				                %>
				                <img src="${mem.headimgurl!}46"/>
				                <%
				                  }
				                %>
				                </td>
				                <td >${mem.nickname!}</td>
				                <%
				                  if (mem.sex == 1){
				                %>
				                <td >男</td>
				                <%
				                  }else if (mem.sex == 0){
				                %>
				                <td >女</td>
				                <%
				                  }else{
				                %>
				                <td >未知</td>
				                <%
				                  }
				                %>
				                <td>${mem.province!}</td>
				                <td>${mem.city!}</td>
				                <td>${mem.questions!}</td>
				                <td>${mem.reply!}</td>
				                <td data-val="${mem.ispayment!}">${mem.ispayment==1?"已缴费":"未缴费"}</td>
				                <td>${mem.ctime,dateFormat="yyyy-MM-dd hh:mm:ss"}</td>
				            </tr>
		    <%
		          }
		       }
		    %>
            </tbody>
        </table>
      </div>
    <div class="bjui-pageFooter">
		<div class="pages">
			<span>每页&nbsp;</span>
			<div class="selectPagesize">
				<select data-toggle="selectpicker" data-defval="${page.pageSize!}" data-toggle-change="changepagesize" >
		    		<option value="15">15</option>
		        	<option value="30">30</option>
		        	<option value="50">50</option>
		        	<option value="100">100</option>
		    	</select>
			</div>
			<span>&nbsp;条，共  ${page.totalRow!0} 条</span>
		</div>
		<div class="pagination-box" data-toggle="pagination" data-total="${page.totalRow!}" data-page-size="${page.pageSize!15}" data-page-current="${page.pageCurrent!1}">
		</div>
	</div>